package com.wiken.storeservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.storeservice.VO.UserStoreActivityVO;
import com.wiken.storeservice.entity.UserStoreActivity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.sql.Array;
import java.util.ArrayList;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2023-02-08
 */

//TODO 完成优惠劵模块
// TODO 实现限流 熔断

public interface IUserStoreActivityService extends IService<UserStoreActivity> {
    boolean addUserStoreActivity(UserStoreActivity userStoreActivity, String token);

    ArrayList<UserStoreActivityVO> getUserStoreActivity(String token);

    boolean useUserStoreActivity(String userStoreActivityId, String token);

    ArrayList<UserStoreActivityVO> getUserStoreActivityByStoreId(String storeId, String token);

}
